package com.sz.admin.sysuseremployee.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;

import cn.idev.excel.annotation.ExcelProperty;
import com.sz.excel.annotation.DictFormat;
import org.springframework.format.annotation.DateTimeFormat;
/**
 * <p>
 * SysUserEmployee导入DTO
 * </p>
 *
 * @author sz-admin
 * @since 2025-09-04
 */
@Data
@Schema(description = "SysUserEmployee导入DTO")
public class SysUserEmployeeImportDTO {

    @ExcelProperty(value = "用户名")
    @Schema(description =  "用户名")
    private String username;

    @ExcelProperty(value = "密码")
    @Schema(description =  "密码")
    private String pwd;

    @ExcelProperty(value = "手机号")
    @Schema(description =  "手机号")
    private String phone;

    @ExcelProperty(value = "昵称")
    @Schema(description =  "昵称")
    private String nickname;

    @ExcelProperty(value = "性别(0 未知 1 男 2 女)")
    @Schema(description =  "性别(0 未知 1 男 2 女)")
    private Integer sex;

    @ExcelProperty(value = "生日")
    @Schema(description =  "生日")
    private String birthday;

    @ExcelProperty(value = "头像地址")
    @Schema(description =  "头像地址")
    private String logo;

    @ExcelProperty(value = "年龄，--废弃，以生日为主")
    @Schema(description =  "年龄，--废弃，以生日为主")
    private Integer age;

    @ExcelProperty(value = "身份证")
    @Schema(description =  "身份证")
    private String idCard;

    @ExcelProperty(value = "邮箱地址")
    @Schema(description =  "邮箱地址")
    private String email;

    @ExcelProperty(value = "账户状态 (如 冻结；禁言；正常。 关联字典表account_status)")
    @DictFormat(dictType = "account_status")
    @Schema(description =  "账户状态 (如 冻结；禁言；正常。 关联字典表account_status)")
    private String accountStatusCd;

    @ExcelProperty(value = "标签（自定义关联到字典表）")
    @DictFormat(dictType = "user_tag")
    @Schema(description =  "标签（自定义关联到字典表）")
    private String userTagCd;

    @Schema(description =  "最近一次登录时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastLoginTime;

}